package com.yike.user.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 店铺表
 *
 * @author Sakura
 * @since 2024-08-26
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "店铺绑定参数")
public class ShopBindingParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("店铺编号")
    @NotBlank(message = "店铺编号不能为空")
    private String shopNo;

    @ApiModelProperty("类型：1店铺绑定代理商 2店铺绑定商家")
    @NotNull(message = "类型不能为空")
    private Integer type;

//    @ApiModelProperty("代理商编号或手机号 type为1时必传")
//    private String agentNo;
//
//    @ApiModelProperty("商户编号或手机号 type为2时必传")
//    private String merchantNo;

}
